﻿using MiniFox.Infrastructure;
using MiniFox.Infrastructure.Attributes;
using MiniFox.Resources;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;

namespace Sys.Core.Models.Queries
{
    [JsonObject]
    public class ModuleQuery
    {
        [TargetProperty("AppId", QueryOperation.Equal)]
        [JsonProperty("appId")]
        public string? ApplicationID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [TargetProperty("ModuleName", QueryOperation.Contain)]
        [JsonProperty("keyword")]
        public string? Keyword { get; set; }

    }
}
